package com.nfit.shopweb.mapper;

import com.nfit.shopmodel.entity.product.ProductSpec;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName:ProductSpecMapper
 * Package:com.nfit.shopweb.mapper
 * Description
 *
 * @Author L
 * @Create 2024/12/16 15:03
 */
@Mapper
public interface ProductSpecMapper {

    List<ProductSpec> page();

    void save(ProductSpec productSpec);

    void delete(Long id);

    void update(ProductSpec productSpec);

    /**
     * 查询所有商品规格
     */
    List<ProductSpec> list();
}
